<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>审批企业</title>
    <link href="https://cdn.bootcss.com/amazeui/2.7.2/css/amazeui.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
</head>
<style>
    html,
    body {
        margin: 0;
        width: 100%;
        height: 100%;
    }
    
    .container {
        width: 1220px;
        margin: 30px auto;
        border: 1px solid;
        overflow: hidden;
    }
    
    .basic-info {
        margin: 54px 0 34px 54px;
        overflow: hidden;
    }
    
    .basic-info label {
        width: 130px;
        line-height: 40px;
        font-weight: 400;
    }
    
    .basic-info input[type='text'] {
        width: 230px;
        height: 30px;
    }
    
    .info-left {
        float: left;
        margin-right: 70px;
    }
    
    .info-right {
        float: left;
    }
    
    .img-right {
        float: left;
        width: 300px;
        height: 180px;
        margin-left: 70px;
    }
    
    textarea {
        resize: none;
    }
    
    #info-cause {
        margin-top: 36px;
        width: 260px;
        height: 90px;
    }
    
    .img-info {
        margin-right: 38px;
    }
    
    ul {
        list-style: none;
        overflow: hidden;
    }
    
    li {
        width: 180px;
        height: 100px;
        float: left;
        background: #eee;
        margin-right: 45px;
        margin-bottom: 54px;
    }
    
    img {
        width: 100%;
        height: 100%;
    }
    
    .cause-info {
        width: 100%;
        height: 140px;
    }
    
    .cause-right {
        float: right;
        margin-right: 132px;
    }
    
    #lose-cause {
        width: 300px;
        height: 120px;
    }
    
    .btn-info {
        margin-left: 38px;
        position: relative;
        margin-bottom: 30px;
    }
    
    button {
        width: 300px;
        text-align: center;
        color: #fff;
        line-height: 30px !important;
        font-size: 20px !important;
    }
    
    #oppose-btn {
        position: absolute;
        right: 132px;
    }
    
    .succeed,
    .lose {
        margin-left: 38px;
    }
    
    .hide {
        display: none;
    }
    
    .model {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .6);
    }
    
    .dragAble {
        position: absolute;
    }
    
    .show-img {
        display: block;
        position: absolute;
    }
    
    .close-img {
        color: #000;
        position: absolute;
        font-size: 50px;
        z-index: 30;
        margin-left: 170px;
        margin-top: -30px
    }
</style>

<body>
    <div class="container">
        <h4 style="margin-left: 38px;margin-top: 30px;">
            <a href="javascript: history.back(-1)" style="color: #000"><img src="img/back.png" alt="" style="width: 24px;vertical-align:middle;">返回上一页</a>
        </h4>
        <div class="basic-info">
            <div class="info-left">
                <label>企业名称</label>
                <input type="text" id="info-name">
                </br>
                <label>企业联系人</label>
                <input type="text" id="info-person">
                </br>
                <label>企业联系人电话</label>
                <input type="text" id="info-phone">
                </br>
                <label>企业邮箱</label>
                <input type="text" id="info-mail">
            </div>
            <div class="info-right">
                <label>是否实施</label>
                <input type="checkbox" id="info-carry">
                </br>
                <textarea placeholder="不实施的原因" id="info-cause"></textarea>
            </div>
            <div class="img-right" onclick="magnify(event)">
                <img src="http://ifile.2dfire.com/00173140/StoreInformation/7acff94c267f4c00af3936c4a3b124f3.png" alt="">
            </div>
        </div>
        <div class="img-info">
            <ul>
                <li onclick="magnify(event)">
                    <img src="http://ifile.2dfire.com/00173140/StoreInformation/7acff94c267f4c00af3936c4a3b124f3.png" alt="">
                </li>
                <li onclick="magnify(event)">
                    <img src="https://ifile.2dfire.com/00174551/StoreInformation/ae833a974050461eb0c7205e6ab1c31b.png" alt="">
                </li>
                <li onclick="magnify(event)">
                    <img src="http://ifile.2dfire.com/00047449/StoreInformation/3dd6d3642b88483d800417db07a44391.png" alt="">
                </li>
            </ul>
        </div>
        <div class="apply">
            <div class="cause-info">
                <div class="cause-right">
                    <label>*审批失败的原因：</label>
                    <textarea placeholder="请填写审批失败的原因" id="lose-cause"></textarea>
                </div>
            </div>
            <div class="btn-info">
                <button type="button" class="am-btn am-btn-primary" id="agree-btn" onclick="agree()">同意</button>
                <button type="button" class="am-btn am-btn-primary" id="oppose-btn" onclick="disagree()">不同意</button>
            </div>
        </div>
        <!--
         审核成功
     -->
        <div class="succeed">
            <h4>
                状态：审核成功
            </h4>
        </div>
        <!--
         审核失败
     -->
        <div class="lose">
            <h4>
                状态：审核失败
            </h4>
            <h4>
                失败原因：<span class="lose-cause"></span>
            </h4>
        </div>
    </div>
    <!--图片放大-->
    <div class="model hide">
        <div id='block1' class="dragAble">
            <a href="javascript: void(0)" class="close-img" data-am-modal-close onclick="realsize()">&times;</a>
            <img src="" id="images1" onmousewheel="return bbimg(this)" class="show-img">
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert">
        <div class="am-modal-dialog">
            <div class="am-modal-bd">
                审批失败原因不能为空
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>
</body>
<script src="js/list.js"></script>

</html>